package com.gh.thread;

import java.util.Date;

import lombok.Data;

/**
 * @author hugx
 * @create 2018-10-26 9:44
 */
@Data
public class DemoVo {
    private int id;
    private String demoName;
    private Date rq;

    public String dis(String msg) {
        String result = "hello:  " + msg;
        System.out.println(result);
        return result;
    }

    public static void main(String[] args) {
//        DemoVo demoVo = new DemoVo(1, "aaa", new Date());
//        DemoVo demoVo1 = DemoVo.builder().id(123).demoName("bbb").rq(new Date()).build();
//        System.out.println(demoVo1.getDemoName() + "  , " + demoVo.getDemoName());

    }
}
